package com.luoc.spring.visitPattern;

/**
 * @author luoc
 * @version 1.0
 * @date 2021/3/18 20:05
 * @since 1.0
 */
public class Manager implements Staff {

    @Override
    public void accept(Visitor visitor) {
        System.out.println("manager");
        visitor.visit(this);
    }
}
